package com.pxmeta.user.entity.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class UserWithdrawVO implements Serializable {

    @ExcelIgnore
    @ApiModelProperty(value = "id")
    private Long id;

    @ExcelIgnore
    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ExcelIgnore
    @ApiModelProperty(value = "用户昵称")
    private String nickname;

    @ExcelProperty(value = "收款方姓名（必填）")
    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ExcelProperty(value = "身份证号（必填）")
    @ApiModelProperty(value = "身份证号")
    private String cardNo;

    @ExcelProperty(value = "手机号（必填）")
    @ApiModelProperty(value = "手机号")
    private String phone;

    @ExcelProperty(value = "收款账号（必填）")
    @ApiModelProperty(value = "银行卡号")
    private String cardNumber;

    @ExcelProperty(value = "应发金额（元）（必填）")
    @ApiModelProperty(value = "应发金额")
    private String number;

    @ExcelProperty(value = "备注说明（选填）")
    @ApiModelProperty(value = "备注")
    private String mark;

    @ExcelProperty(value = "商户订单号（选填）")
    @ApiModelProperty(value = "商户订单号")
    private String mchNo;

    @ExcelProperty(value = "批次号（选填）")
    @ApiModelProperty(value = "批次号")
    private String batchNumber;

    @ExcelIgnore
    @ApiModelProperty(value = "提现状态")
    private Integer status;

    @ExcelIgnore
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
